<div class="col-sm-12 col-md-12">
    <table class="table table-striped table-bordered table-condensed index-center table-costom">
        <thead>
        <tr>
            <th>序号</th>
            <th>用户ID</th>
            <th>用户名</th>
            <th>手机</th>
            <th>理财投资</th>
            <th>项目投资</th>
            <th>授信贷款</th>
            <th>账户总额</th>
            <th>冻结金额</th>
            <th>可用余额</th>
            <th>净资产</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <tr class="rowlink" ng-repeat="item in limitArr">
            <td>{{current*limit+$index+1}}</td>
            <td>{{item.mUserId}}</td>
            <td>{{item.mUserName}}</td>
            <td>{{item.mUserTel}}</td>
            <td>{{item.bidInvestmentAmount}}</td>
            <td>{{item.itemInvestmentAmount}}</td>
            <td>{{item.creditLoanAmount}}</td>
            <td>{{item.mUserMoney}}</td>
            <td>{{item.frozenMoney}}</td>
            <td>{{toFixed(item.mUserMoney-item.frozenMoney)}}</td>
            <td>{{toFixed(item.bidInvestmentAmount+item.itemInvestmentAmount+item.mUserMoney-item.frozenMoney-item.creditLoanAmount)}}</td>
            <td>
                <a href="javascript:" data-toggle="modal" data-target="#transaction" ng-click="transactionList(item.mUserId)">交易明细</a>
            </td>
        </tr>
        </tbody>
    </table>
    <div data-remote-paging="pager" data-refresh="refresh" data-current="current" data-total="total" data-data="limitArr" data-limit="limit" data-params="params"></div>
</div>

<!-- 交易明细 -->
<div class="modal fade" id="transaction" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog" style="width: 1000px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">用户交易明细</h4>
            </div>
            <div class="modal-body">
			    <table class="table table-striped table-bordered table-condensed index-center table-costom">
			        <thead>
			        <tr>
			            <th>序号</th>
			            <th>交易类型</th>
			            <th>交易说明</th>
			            <th>金额</th>
			            <th>当时可用余额</th>
			            <th>生成时间</th>
			        </tr>
			        </thead>
			        <tbody>
			        <tr class="rowlink" ng-repeat="item in limitArr2">
			            <td>{{current2*limit2+$index+1}}</td>
			            <td>{{item.changeType}}</td>
			            <td>{{item.changeDesc}}</td>
			            <td>{{item.amount}}</td>
			            <td>{{item.balanceAmount}}</td>
			            <td>{{item.createTime|date:'yyyy-MM-dd HH:mm'}}</td>
			        </tr>
			        </tbody>
			    </table>
			    <div data-remote-paging="pager2" data-refresh="refresh2" data-current="current2" data-total="total2" data-data="limitArr2" data-limit="limit2" data-params="params2"></div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div><!-- /.modal -->